354 XI ELEMENTARY SPECTRAL THEORY (f ) For X = ln , a necessary and sufficient condition for the Sturm-Liouville problem to have a solution is that \ f(t)cpn(t) dt = 0. Then, for any solution w, cn = (w | q>n) is arbitrary, and for m ^ n, cm is given by the same formula as in (e). The homogeneous Sturm-Liouville problem cannot have two linearly independent solutions, otherwise it would have solutions y for which y(d) and y'(d) are arbitrary, which is absurd; this proves (b). The fact that all eigenvalues Aw are real follows from (1 1 .7.7) and (1 1 .5.7) ; moreover it follows from (11 .7.4) that at most finitely many ln are negative. By Mercer's theorem ((11.6.7) and (11.6.8)), we have for the Green function (11.7.10.1) K(*,x) = £|n , the sequence being convergent in the n prehilbert space G. To prove (c) it will then be enough to show that the set P of these functions w is dense in G. Now, for any function M e G, consider the continuous function wm equal to u in to a linear function x -» ax + /? satisfying the first (resp. second) boundary condition (1 1 .7.2) in and to a linear function in each of the intervals + -L,fl+il, L_!,6_- 2m m L ^ 2m ,for each regulated function f, con-